package asteroids;


import com.uqbar.vainilla.appearances.Sprite;

public class MidAsteroid extends Asteroid {
	
	public MidAsteroid(BigAsteroid ba) {
		super(ba.getX(),ba.getY());
		this.setAppearance(Sprite.fromImage("/images/asteroid01.png").scale(2));
		this.initMove(ba);
	}

	@Override
	public void shooted() {
		this.getLevel().addAsteroid(new SmallAsteroid(this));
		this.getLevel().addAsteroid(new SmallAsteroid(this));
		this.destroy();
	}

}
